#ifndef BROADCAST_H
#define BROADCAST_H

enum {
	LOGIN,
	LOGOUT,

	BC_MAX_ID,
};

typedef int (*ENTRY)(cJSON *cj);
void broadcast_init(void);

typedef struct bc_app{
	int bc_id;
	ENTRY bc_call_entry;
	struct bc_app *next;
}bc_app_st;

#endif //BROADCAST_H
